package com.lym.echo.mapper;

import com.lym.echo.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Liym on 2021/8/28
 */
@Mapper
public interface UserMapper {


    User selectByName(String username);

    User selectByEmail(String email);

    void insertUser(User user);

    User selectById(int userId);

    void updateStatus(int userId, int status);

    User findUserByUserId(int userId);
}
